package com.awangyh.jdk8.bao;

import java.util.concurrent.TimeUnit;

/**
 * Created by admin on 2017/4/17.
 */
public class JindiaoBaoDemo {

    public static void main(String[] args) throws InterruptedException {
//        String url = "http://jindiaobao.hffss.com/visit/add";
//
//        String json = "{\"ip\":\"183.14.132.170\",\"province\":\"广东省深圳市\",\"starttime\":\"2017-04-17T11:25:16.243Z\",\"url\":\"http://jindiaobao.hffss.com/pro/list2?type=0&key=&param1=&param2=&param3=&param4=&param5=&param6=&param7=&pageType=1\",\"type\":\"0\"}";
//
//        Map<String, String> map = JsonUtil.getGson().fromJson(json, Map.class);
//        String s = HttpClient.post(url).header("Content-Type", "application/json").param(map).asString();
//        System.out.println(s);

        TimeUnit.SECONDS.sleep(50);
    }
}
